// This file contains styling which overrides the standard Liferay portlets
// Things like styling the search engine results page, the blog etc.
// --------


// All portlets
.portlet {

	margin: 0 0 15px 0;

	.portlet-topper {

		background: #2f6ea1 url(../images/theme/portlet/portlet-hd-bg-2.png) top left repeat-x;
		border: 1px solid #245780;
		@include border-radius(6px 6px 0 0);
		@include box-shadow(0px 1px 4px 0px #cccccc);
		position: relative;

		.portlet-title {
			color: #fff;
			float: none;
			font-size: 1.3em;
			font-weight: normal;
			margin: 0;
			padding: 7px 10px;

			img {
				display: none;
			}
		}

		.portlet-topper-toolbar {
			right: 6px;
			top: 6px;
		}

	}

	.portlet-content {

		background: #fff;
		border: 1px solid #cad5de;
		border-width: 0 1px 1px 1px;
		@include border-radius(0 0 6px 6px);
		@include box-shadow(0px 1px 4px 0px #cccccc);
		padding: 12px;
		position: relative;

		.portlet-body {
			padding: 15px
		}
	}


}

.portlet-borderless-container {
  min-height: 0;
}

// Web Content Display and Asset Publisher
.portlet-journal-content,
.portlet-asset-publisher {

	.portlet-content {
		.portlet-body {
			padding-left: 0;
			padding-right: 0;
		}
	}

}

// Asset Publisher
.portlet-asset-publisher {
	.taglib-header {
		display: none;
	}

	.asset-full-content {

		.asset-content {
			margin: 0;
		}
	}

	.portlet-body {

		.asset-user-actions {
			@include clearfix();

			margin-bottom: 3px;

			div:first-child {
				margin-left: 0;
			}

			div:last-child {
				margin-right: 0;
			}
		}
	}
}

// Web Content Display
.portlet-journal-content {
	.portlet-borderless-container .journal-content-article {
		margin-bottom: 15px;
	}
}
